Skip to content

Fix cross-compile Docker build installation of zap #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jlubawy
Copy link

@jlubawy jlubawy commented Jul 7, 2025

Same as SiliconLabs/UnifySDK#53

Change

I'm not 100% why it was broken for me (maybe the x64 instead of arm64), but when building on a Mac (with arm processor) I get errors when running ./docker/build_docker.sh arm64 uic_arm64. This PR fixes the issue.

Might be better to replace arm64 with ${ARCH} but I will leave that up to maintainers to decide what is right.

Checklist

  • A [Contribution License Agreement][CLA] has been established between @SiliconLabs and author's company (matching email domain)

&& apt update \
&& apt install -y --no-install-recommends /tmp/zap.deb \
&& rm -rf /var/lib/apt/lists/*
RUN wget -O /tmp/zap.zip https://github.com/project-chip/zap/releases/download/v2025.06.09/zap-linux-arm64.zip \
Copy link
Collaborator

@rzr rzr Jul 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may the URL passed as docker build --build-arg ZAP_APP_URL

&& apt install -y --no-install-recommends /tmp/zap.deb \
&& rm -rf /var/lib/apt/lists/*
RUN wget -O /tmp/zap.zip https://github.com/project-chip/zap/releases/download/v2025.06.09/zap-linux-arm64.zip \
&& echo e0457d340965e153d84ca41addc257a8e4f6b4c1c8dfdb7d105779110e6d8451 /tmp/zap.zip > /tmp/zap.zip.sha256 \
Copy link
Collaborator

@rzr rzr Jul 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and ZAP_APP_SHA256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants